package com.alg.local.gateway.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author al
 * @date 2022/1/24 17:56
 * @description
 */
@Configuration
@ConfigurationProperties(prefix = "auth")
@Data
public class AuthTypeProps {

    private String type;

    private TokenUser globalToken;

    /**
     * 不走鉴权的接口
     */
    private List<String> ignoreUrl;

    /**
     * 不走鉴权的请求接口
     */
    private List<String> ignoreUrlReq;

    /**
     * 不走鉴权的响应接口
     */
    private List<String> ignoreUrlRsp;

}
